package code.example.base.util.concurrent.lock.speed;

public class SyncSpeed extends SpeedTest {

    public  void lockRun( SpeedRunnable speedRunnable){
        synchronized (this) {
            speedRunnable.run();
        }
    }

    public static void main(String args []){
        System.out.println("SyncSpeed:");
        new SyncSpeed().startTest();
    }

}
